<include file="Public/header"/>

		<div id="app">
			<!-- sidebar -->
			<include file="Public/left"/>
			<!-- / sidebar -->
			<div class="app-content">
				<!-- start: TOP NAVBAR -->
				<include file="Public/headernav"/>
				<!-- end: TOP NAVBAR -->
				<div class="main-content" >
					<div class="wrap-content container" id="container">
						<!-- start: PAGE TITLE -->
						<section id="page-title">
							<div class="row">
								<div class="col-sm-8">
									<h1 class="mainTitle">员工列表</h1>
									<span class="mainDescription"></span>
								</div>
								<!-- <ol class="breadcrumb">
									<li>
										<span>Pages</span>
									</li>
									<li class="active">
										<span>Blank Page</span>
									</li>
								</ol> -->
							</div>
						</section>
						<!-- end: PAGE TITLE -->
						<!-- start: YOUR CONTENT HERE -->
<div class="row">
<div class="col-lg-12 col-md-12 margin-top-20" >
	<div class="panel panel-white">
		<div class="panel-heading">
			<h5 class="panel-title">筛选</h5>
		</div>
	<form role="form" class="form-inline">	
		<div class="panel-body">
			
			
				<div class="form-group">
					
					  <label for="account" class="sr-only">
						姓名
					  </label>
					  姓名:
						<input type="text" name="name" value="{$_GET.name}" id="account" placeholder="姓名" class="form-control">
					
				</div>
				 <div class="form-group">
					<label for="type" class="sr-only">
						部门
					</label>
					部门：
					<select class="form-control" id="type" name="p_id">
						<option value="0" >全部</option>
						<volist name="p_list" id="vo">
						<option value="{$vo.id}" <if condition="$_GET['p_id'] == $vo['id']">selected</if>>{$vo.p_name}</option>
					    </volist>
					</select>
				</div>

				<div class="form-group">
					<label for="type" class="sr-only">
						状态
					</label>
					状态：
					<select class="form-control" id="status" name="status">
						<option value="all" <if condition="$_GET['status'] =='all'">selected</if>>全部</option>
						<option value="1" <if condition="$_GET['status'] ==1">selected</if>>有效</option>
						<option value="0" <if condition="$_GET['status'] ==='0'">selected</if>>无效</option>
					</select>
				</div>	

			    <button class="btn btn-primary" type="submit">
					提交
				</button>
				
				
				
			
		</div>
    </form>
	</div>
</div>
		</div>								

<table class="table table-hover" id="sample-table-1">
				<thead>
					<tr>
						<th class="center">姓名</th>
						<th>部门</th>
						<th class="hidden-xs">关联操作员</th>
						<th>状态</th>
						<th></th>
					</tr>
				</thead>
				<tbody>
      <volist  name="list['list']" id='vo' key='key'>
					<tr>
						<td class="center">{$vo.name}<i/></td>
						<td> {$vo.p_name|default='-'}</td>
						<td class="hidden-xs">{$vo.auid_name|default='-'}</td>
						<td>{$vo['status']?'有效':'无效'}</td>
						<td class="center">
						<div class="visible-md visible-lg hidden-sm hidden-xs">

							<a href="{:U("Admin/Personnel/members_edit",array('id'=>$vo['id']))}" class="btn btn-transparent btn-xs" tooltip-placement="top" data-toggle="tooltip" data-original-title="编辑"><i class="fa fa-pencil"></i></a>
							
							<a href="{:U("Admin/Personnel/members_del",array('id'=>$vo['id']))}" class="btn btn-transparent btn-xs tooltips" tooltip-placement="top" data-toggle="tooltip" data-original-title="删除" onclick="return confirm('确定删除该数据？')"><i class="fa fa-times fa fa-white"></i></a>
	                  
						</div>
						</td>
					</tr>
					
</volist>



		
				</tbody>
			</table>



 <div class="col-md-12 pages" align="center">{$list['page']|default='暂无数据'}</div>



						<!-- end: YOUR CONTENT HERE -->
					</div>
				</div>
			</div>
			<!--  FOOTER and SETTINGS -->
			
           <include file="Public/footer"/>
			<!-- end: FOOTER -->
			<!-- start: OFF-SIDEBAR -->
			
			<!-- end: OFF-SIDEBAR -->
			
		</div>
		<!-- start: MAIN JAVASCRIPTS -->

         <include file="Public/javascript"/>
		
		<!-- end: CLIP-TWO JAVASCRIPTS -->
	</body>
</html>
